main{
    margin: 0 auto;
    .product-detail{
          position: relative;
          text-align: center;
          li{
             float: left;
             width: 50%;
             padding: 3px;
             >div{
             background: #fff;
             border: 1px solid #eee;
             position: relative;
             }
             .product-img img{ 
                 width: 100%;  
                 height: 8rem;
             }
             .product-name{
                 text-align: left;
                 width: 100%;
                 white-space:nowrap;
                 overflow: hidden;
                 font-size: 0.5rem;
                 line-height: 28px;
             }
             .product-price{
                 text-align: left;
                 font-size: 1rem;
                 color: orange;
                 padding-left: 5px;
                 line-height: 28px;
                 em{
                     font-size: 12px;
                 }
             }
             .toBuy{
                 position: absolute;
                 width:60px;
                 height: 30px;
                 background: orange;
                 bottom: 2px;
                 right: 5px;
                 line-height: 30px;
                 color: #fff;
                 border-radius: 5px;
             }
          }
    }
}